type nodeTypeItem = {
  value: number;
  label: string;
  nodeColor: string;
  borderColor: string;
};
type customShape = {
  shape: string;
  describe: string;
  component: Function;
}[];

// 地图节点
export const nodeTypeList: nodeTypeItem[] = [
  {
    value: 1,
    label: "充电点",
    nodeColor: "#43CF7C",
    borderColor: "#00BAAD",
  },
  {
    value: 2,
    label: "停靠点",
    nodeColor: "#FFC300",
    borderColor: "#FF8D1A",
  },
  {
    value: 3,
    label: "开门点",
    nodeColor: "#AC33C1",
    borderColor: "#D265E6",
  },
  {
    value: 4,
    label: "关门点",
    nodeColor: "#AC33C1",
    borderColor: "#D265E6",
  },
  {
    value: 5,
    label: "电梯外点",
    nodeColor: "#7948EA",
    borderColor: "#9F77FC",
  },
  {
    value: 6,
    label: "电梯内点",
    nodeColor: "#C2A8FF",
    borderColor: "#9F77FC",
  },
  {
    value: 7,
    label: "关梯点",
    nodeColor: "#4319A6",
    borderColor: "#A882FF",
  },
  {
    value: 8,
    label: "站点",
    nodeColor: "#2A82E4",
    borderColor: "#17559C",
  },
  {
    value: 9,
    label: "其他",
    nodeColor: "#B3D6FF",
    borderColor: "#85BEFF",
  },
  {
    value: 10,
    label: "充电前置点",
    nodeColor: "#1D733F",
    borderColor: "#00BAAD",
  },
  {
    value: 100,
    label: "自定义被锁资源节点",
    nodeColor: "#f56c6c",
    borderColor: "#cc4b4b",
  },
];

// 自定义节点类型
export const customNodeShape: customShape = [
  {
    shape: "node-point",
    describe: "绘制节点",
    component: () => import("@/components/nodePoint/index.vue"),
  },
  {
  	shape: 'node-area',
  	describe: '绘制功能区域',
  	component: () => import('@/components/nodeArea/index.vue')
  },
  // {
  // 	shape: 'node-edge',
  // 	describe: '边路径资源状态',
  // 	component: () => import('@/components/nodeEdge/index.vue')
  // },
  // {
  // 	shape: 'node-agv',
  // 	describe: '场控机器人小车',
  // 	component: () => import('@/components/nodeAgv/index.vue')
  // },
  // {
  // 	shape: 'node-wall',
  // 	describe: '绘制墙',
  // 	component: () => import('@/components/buildingNode/index.vue')
  // },{
  // 	shape: 'node-door',
  // 	describe: '绘制门',
  // 	component: () => import('@/components/buildingNode/index.vue')
  // },{
  // 	shape: 'node-column',
  // 	describe: '绘制柱子',
  // 	component: () => import('@/components/buildingNode/index.vue')
  // }
];
